import { CardEditableParamsDefault, CardDataEditableParamsCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";
const CARD_160 =  {
  style: {
    ...CardEditableParamsDefault.DropdownNormal,
    label: '卡片样式',
    placeholder: '请选择卡片样式',
    valLists: [
      {
        name: '卡片样式1',  // 默认类型
        value: '1',
      },
      {
        name: '卡片样式2',
        value: '2',
      },
      {
        name: '卡片样式3',
        value: '3',
      }
    ],
  },
  img: {
    ...CardEditableParamsDefault.ImageNormal,
    label: '主图',
    res_type: 'String',  // Array : fileList, String : value
    placeholder: '尺寸严格按照设置的宽高，小于500kb，jpg,jpeg,png格式',
    limit: 1,
    size: 500,
    accept: '.jpg, .jpeg, .png',
    tooltips: `尺寸严格按照设置的宽高，300*300，小于500kb，jpg,jpeg,png格式`,
  },
  title: {
    ...CardEditableParamsDefault.InputNormal,
    label: '标题',
    placeholder: '请填入标题，8个汉字',
  },
  top_desc: {
    ...CardEditableParamsDefault.InputNormal,
    label: '描述一',
    placeholder: '请填入描述一，10个汉字',

    param_effect_parent: {
      effect_parent_keys: ['style'],  // 'a', '0'      TODO: 数组：ARRAY_NUM
      effect_type: ['SHOW_HIDE'],
      effect_parent_val: '1'
    }
  },
  sub_desc: {
    ...CardEditableParamsDefault.InputNormal,
    label: '描述二',
    placeholder: '请填入描述二，10个汉字',

    param_effect_parent: {
      effect_parent_keys: ['style'],  // 'a', '0'      TODO: 数组：ARRAY_NUM
      effect_type: ['SHOW_HIDE'],
      effect_parent_val: '1'
    }
  },
  desc: {
    ...CardEditableParamsDefault.InputNormal,
    label: '描述',
    placeholder: '请填入描述，10个汉字',

    param_effect_parent: {
      effect_parent_keys: ['style'],  // 'a', '0'      TODO: 数组：ARRAY_NUM
      effect_type: ['SHOW_HIDE'],
      effect_parent_val: ['2', '3']
    }
  },
  flag: {
    ...CardEditableParamsDefault.InputNormal,
    label: 'flag',
    placeholder: '请填入flag，4个汉字',
  },
  avatar: {
    ...CardEditableParamsDefault.ImageNormal,
    label: '头像',
    res_type: 'String',  // Array : fileList, String : value
    placeholder: '尺寸严格按照设置的宽高，100*100，小于200kb，jpg/png格式',
    limit: 1,
    size: 200,
    accept: '.jpg, .jpeg, .png',
    tooltips: `尺寸严格按照设置的宽高，100*100，小于200kb，jpg/png格式`,

    param_effect_parent: {
      effect_parent_keys: ['style'],  // 'a', '0'      TODO: 数组：ARRAY_NUM
      effect_type: ['SHOW_HIDE'],
      effect_parent_val: ['1', '2']
    }
  },
  bottom_desc: {
    ...CardEditableParamsDefault.InputNormal,
    label: '底部描述',
    placeholder: '请填入底部描述，5个汉字',

    param_effect_parent: {
      effect_parent_keys: ['style'],  // 'a', '0'      TODO: 数组：ARRAY_NUM
      effect_type: ['SHOW_HIDE'],
      effect_parent_val: ['1', '2']
    }
  },
  scheme: {
    ...CardEditableParamsDefault.InputNormal,
    label: '跳转链接',
    placeholder: '请填入跳转链接',
  },
  ...CardDataEditableParamsCommonDefault,
};
export default CARD_160;
